package cn.xinfei.xdecision.common.model.component.scorecard;

import cn.xinfei.xdecision.common.model.component.IgnoredParamCheck;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 评分卡明细表(ScorecardDetail)实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("`t_scorecard_detail`")
public class ScorecardDetail implements Serializable {

    @IgnoredParamCheck
    private static final long serialVersionUID = -2740621861057988333L;

    @TableId(type = IdType.AUTO)
    @IgnoredParamCheck
    private Integer id              ;  // int(11)

    private Integer dimensionId    ;  // int(11)
    private String fieldCode        ;  // int(11)
    @IgnoredParamCheck
    private Integer parentId       ;  // int(11)
    @IgnoredParamCheck
    private Integer nodeType            ;  // int(11)

    @IgnoredParamCheck
    private Double score           ;  // decimal(10,0)

    @IgnoredParamCheck
    private Double coefficient     ;  // decimal(10,0)

    @IgnoredParamCheck
    private String custom           ;  //自定义文本
    private Integer calculateType  ;  // int(11)
    private String logicalSymbol         ;  // varchar(50)

    @IgnoredParamCheck
    private Date createdTime     ;  // datetime

    @IgnoredParamCheck
    private Date updatedTime     ;  // datetime


}
